package the_Crash;

import repast.simphony.space.grid.GridPoint;

//messages which are passed between cars
public class Message {
	
	private GridPoint locationToMoveTo;
	private SmartCar sendingCar;
	
	public Message(GridPoint locationToMoveTo,SmartCar sendingCar) {
		this.locationToMoveTo = locationToMoveTo;
		this.sendingCar = sendingCar;
	}

	public GridPoint getLocationToMoveTo() {
		return locationToMoveTo;
	}

	public SmartCar getSendingCar() {
		return sendingCar;
	}
	
	
	
	
	

}
